package com.polytech.diploma.Walker;

import org.antlr.runtime.tree.CommonTree;
import org.antlr.runtime.tree.Tree;

import com.polytech.diploma.Builder.Builder;

public class Walker {
	
	Builder builder = null;
	
	public Walker(Builder builder) {
		super();
		this.builder = builder;
	}


	public void walkByTree(CommonTree t) {
		if ( t != null ) {
			for ( int i = 0; i < t.getChildCount(); i++ ) {
				Tree c = t.getChild(i);
				t.
				c.getType();
				walkByTree((CommonTree)t.getChild(i));
			}
		}
	}
	
	
}
